//
//  EssentialModel.h
//  AmountBody
//
//  Created by smm on 2017/12/15.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "CustomSketchMapView.h"
typedef NS_ENUM(NSUInteger, AmountCellType) {
    AmountCellTypeForSize = 10,
    AmountCellTypeForTeTi,
    AmountCellTypeForTeTiAndStyle,
    AmountCellTypeForHead,
    AmountCellTypeForNomal,
    
};

//用于区分布局位置
typedef NS_ENUM(NSUInteger, UIType) {
    UITypeForLeft = 20,
    UITypeForCenter,
    UITypeForRight,
};
typedef NS_ENUM(NSUInteger, EssentialViewType)  {
    EssentialViewTypeForNomal = 0,//正常样式
    EssentialViewTypeForRulerWithNomal,//标尺样式(正常)
    EssentialViewTypeForRulerWithSize,//标尺样式(号型)
    EssentialViewTypeForRulerWithPlaceOrder,//标尺样式(快速下单)
};

@interface EssentialModel : NSObject
@property (strong, nonatomic) NSString * _id;
@property (strong, nonatomic) NSArray *scrollArray;
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *value;
@property (strong, nonatomic) NSString *unit;
@property (assign, nonatomic) CGFloat width;
@property (assign, nonatomic) UIType uiType;
@property (assign, nonatomic) BOOL isMust;//是否是必须输入的
@property (assign, nonatomic) EssentialViewType essentialType;
@property (assign, nonatomic) AmountCellType amountType;

@end
